﻿using Bankomat.Business;
using Bankomat.States.AbstractStates;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bankomat.States.Strings.hu;

namespace Bankomat.States
{
    public class SuccessState : InfoState
    {
        public SuccessState()
        {
            myMessage = String.Format(Resource.SuccessStateMessage +
                Resource.SuccessStateTens + "{0}\n" +
                Resource.SuccessStateFives + "{1}\n" +
                Resource.SuccessStateOnes + "{2}",
                myOperationManager.GetTens, myOperationManager.GetFives, myOperationManager.GetOnes);
            myOptionRight4 = Resource.BackMessage;
        }

        public override State CancelSelected()
        {
            return new MainMenuState();
        }

        public override State CardReaderSelected()
        {
            return new InitialState();
        }
    }
}
